package top.purity.server.sso.service;

import top.purity.server.sso.controller.vo.LoginVO;
import top.purity.framework.common.exception.AuthException;
/**
 * @version 1.0
 * @Author Lmh
 * @Description
 * @CreateTime 2023-09-24 18:21
 */
public interface SsoService {

    /**
     * 登录校验身份
     * @param loginVO 请求体，登陆账号，租户编码，登录设备以及密码
     * @return userId + "_" + tenantId
     */
    String login(LoginVO loginVO) throws AuthException;
}
